Implement Clone trait for mutable unsafe pointers