Shallow-copy all own data properties from a local plain/null-prototype record.
The result is a fresh, mutable null-prototype record with enumerable, writable
properties. Symbols and non-enumerable input keys are included; proto is
ordinary data. Nested values are shared and neither copied nor frozen.
Accessors and missing descriptors throw TypeError without invoking getters.
Proxy reflection traps can run. A failing prototype check produces TypeError;
ownKeys/getOwnPropertyDescriptor failures propagate unchanged. No value or
allowed-key validation is performed; use assertKnownKeys on the copy as needed.
Shallow-copy all own data properties from a local plain/null-prototype record. The result is a fresh, mutable null-prototype record with enumerable, writable properties. Symbols and non-enumerable input keys are included; proto is ordinary data. Nested values are shared and neither copied nor frozen.
Accessors and missing descriptors throw TypeError without invoking getters. Proxy reflection traps can run. A failing prototype check produces TypeError; ownKeys/getOwnPropertyDescriptor failures propagate unchanged. No value or allowed-key validation is performed; use assertKnownKeys on the copy as needed.