working with deep object cloning, what is wrong with php