Add deep clone to append method