build/knockout.app.js
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;
    }
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;
    }
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 ; }
Used to clone an object with Knockout observable properties
Used to clone an object with Knockout observable properties