add `clone_from` and `deep_clone_from`

Closes #10240
make DeepClone inherit from Clone
auto merge of #10376 : thestinger/rust/clone, r=huonw

Closes #10240