Serialize the archetype. When copy is true each column buffer is
detached (.copy()) so the snapshot survives later mutation of the live
archetype; otherwise the snapshot references the live column buffers
(faster, but only valid until the next mutation).
omit names columns to exclude from the snapshot (e.g. nonPersistent
components). fromData rebuilds any omitted column fresh, so the archetype
stays structurally intact.
Serialize the archetype. When
copyis true each column buffer is detached (.copy()) so the snapshot survives later mutation of the live archetype; otherwise the snapshot references the live column buffers (faster, but only valid until the next mutation).omitnames columns to exclude from the snapshot (e.g. nonPersistent components).fromDatarebuilds any omitted column fresh, so the archetype stays structurally intact.