Fix copy of slice of pointers to struct.