use deriving for DeepClone
auto merge of #6712 : thestinger/rust/derive, r=catamorphism