Fixes direct array clone

Particularly for cycles, but also takes a shortcut on ownership
verification for speed.