@IgorMinar is it out of the question to use $$hashKey for objects copied in this way? it would certainly be quicker than this, but it seems wrong to mess with peoples objects