An immutable iterator is cached and reseted when the iterator method is called