[DF-1009] Fix CloneAndTransform command. Fix non-removing nodes from scene graph after undoing CloneAndTransform command