If the iter object is copied, we need to gather the iteration pointers. Otherwise we could run into a segfault.