implement Clone for slices