code: function(obj){
        if(ko.isWriteableObservable(obj)) return ko.observable(obj());
        if(obj === null || typeof obj !== 'object') return obj;
  
        var temp = obj.constructor();
        for (var key in obj) {
          temp[key] = Utils.cloneObjKnockout(obj[key]);
        }
  
        return temp;
      }
docs: Used to clone an object with Knockout observable properties