Creates a new object and shadow-copies all own-descriptors (including getters/setters) from the source object.
The object to copy descriptors from
A new object with identical descriptors
const clone = allDescriptors(source); Copy
const clone = allDescriptors(source);
Creates a new object and shadow-copies all own-descriptors (including getters/setters) from the source object.