Implement Clone trait for mutable unsafe pointers
auto merge of #10066 : sanxiyn/rust/mut-ptr-clone, r=thestinger