The returned value is a deep copy of the original value.
Name
objectBasicClone
Description
Creates a deep clone of a given value using the structured clone algorithm.
Do not throw errors if structured cloning is not possible.
In case of failure returns the same variable.
You can check it with Object.is(originalVariable, clonedVariable).
Requires: NodeJS v17.0.0, Firefox v94.
The object to be cloned. This can be any structured-clonable type.