code: function clone(conf) {
    if (typeof conf !== 'object') return conf;
    var obj = {};
    for (var key in conf) {
      obj[key] = clone(conf[key]);
    }
    return obj;
  }
docs: Deep clone an object
  @param {Object} conf