The returned value from getInnerIterator() really is the inner iterator, not a clone. It should be used with respect: calling next() or rewind() on it, for example, will advance or reset the inner iterator - although the effect won't be noticed until you call next() on the IteratorIterator object - it seems as if it caches its current() and key() values (as of PHP v5.5.9). Even if the inner iterator itself is valid (i.e. valid() returns TRUE) the IteratorIterator won't report itself as valid until you either rewind it or call its next() method - these two methods cause the IteratorIterator to re-sync its current, key and valid states with the inner iterator.
<?php
$ii = new IteratorIterator(new ArrayIterator(range(1,6)));
$i1 = $ii->getInnerIterator(); $i2 = $ii->getInnerIterator(); echo $i1->current(); echo $i1->key(); var_dump($ii->valid()); $i1->next(); echo $i1->key(); var_dump($ii->valid()); $ii->rewind(); echo $ii->key(); $i1->next(); echo $ii->key(); echo $i1->key(); $ii->next(); echo $ii->key(); echo $i1->key(); ?>