add a Clone impl for borrowed pointers