JDF-59 Setting limit on FastIdentityHashSet. Minor improvements. Extracted method from AbstractCloneStrategy to improve readability.