Adding deep cloning to objects.