5 module.exports = clone(fs)
8 if (obj === null || typeof obj !== 'object')
11 if (obj instanceof Object)
12 var copy = { __proto__: obj.__proto__ }
14 var copy = Object.create(null)
16 Object.getOwnPropertyNames(obj).forEach(function (key) {
17 Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))