Fixed object cloning.