Remove Y.Map from a Y.Array, can't insert it back

I’m a little confused about if this is a supported use case or not.

In “Caveats”:

The documentation says:

Most importantly, it is not possible to move a type that was inserted into a Yjs document to a different location.

The code example in the documentation shows attempting to add the same shared type into two different Y.Array types at the same time. I understand a shared type cannot be inserted twice into the same Y.Doc, but I don’t seem to be able to Y.Array.delete() a Y.Map and then Y.Array.insert() the Y.Map back into the same array at a different position?

Is that not a supported use case?

Any suggested work arounds?

Thank you!