Edited All .clone from shallow copy to deep copy