Tweak CachingRegistry to provide a copy for iterators.