Copy of missing

should copy(missing) be defined as missing?

I have an array of objects that are either there or missing. I’d like to write copy.(data), but copy(missing) is undefined. Is there a simple reason why this is not defined

Generally copy is only defined for container-like objects (that have some structure).

Why not just copy or deepcopy the array?

2 Likes

deepcopy does the trick, I don’t know exactly why I was initially using copy.()