code: function _clone(value) {
    if(value && typeof value === 'object') {
      var rval;
      if(_isArray(value)) {
        rval = [];
        for(var i = 0; i < value.length; ++i) {
          rval[i] = _clone(value[i]);
        }
      }
      else {
        rval = {};
        for(var key in value) {
          rval[key] = _clone(value[key]);
        }
      }
      return rval;
    }
    return value;
  }
docs: Clones an object, array, or string/number.
  
  @param value the value to clone.
  
  @return the cloned value.