clone
Explicitly copies a known matrix: a new outer object and new row arrays, keys ascending, with cell references preserved.
API Reference
Signature
Parameters
Returns
A new matrix with keys ascending and each row copied; cell values share references.
Throws
Does not throw.
Agent Contract
Agent Notes
- Use
clonefor a value you already trust is a matrix; for unknown/external input use from, which validates first.