index.js
function clone (obj) {
  if(!isObject(obj, true)) return obj
  var _obj
  _obj = Array.isArray(obj) ? [] : {}
  for(var k in obj) _obj[k] = clone(obj[k])
  return _obj
}
function clone (obj) {
  if(!isObject(obj, true)) return obj
  var _obj
  _obj = Array.isArray(obj) ? [] : {}
  for(var k in obj) _obj[k] = clone(obj[k])
  return _obj
}
function clone ( obj ) { if ( ! isObject ( obj , true ) ) return obj var _obj _obj = Array . isArray ( obj ) ? [ ] : { } for ( var k in obj ) _obj [ k ] = clone ( obj [ k ] ) return _obj }
note, cyclic objects are not supported. will cause an stack overflow.
note cyclic objects are not supported . will cause an stack overflow .