I would like to make a copy of a slice containing pointers, such that the pointers in the new slice point to new values: Let's say s is the original slice and c is the copy. Then changing *c[i] should not affect *s[i].
According to this answer, that's not what happens with the usual copy methods.
What's the shortest way to do this?