docs: function cloneObj(obj) {
      var o;
      if ((typeof obj === "undefined" ? "undefined" : babelHelpers["typeof"](obj)) == "object") {
          if (obj === null) {
              o = null;
          } else {
              if (obj instanceof Array) {
                  o = [];
                  for (var i = 0, len = obj.length; i < len; i++) {
                      o.push(this.cloneObj(obj[i]));
                  }
              } else {
                  o = {};
                  for (var k in obj) {
                      o[k] = this.cloneObj(obj[k]);
                  }
              }
          }
      } else {
          o = obj;
      }
      return o;
  }