прототип класса клана JavaScript
let clone = Object.assign(Object.create(Object.getPrototypeOf(orig)), orig)
Silly Sandpiper
let clone = Object.assign(Object.create(Object.getPrototypeOf(orig)), orig)