code: function _copy(orig) {
                  if (orig instanceof RegExp) {
                      return new RegExp(orig);
                  } else if (orig instanceof Date) {
                      return new Date(orig);
                  }
                  var newObj = {};
                  for (var i in orig) {
                      if (typeof orig[i] === 'object') {
                          newObj[i] = _copy(orig[i]);
                      } else {
                          newObj[i] = orig[i];
                      }
                  }
                  return newObj;
              }
docs: BEGIN STATIC