src/util/WWUtil.js
function (original) {
                var clone = {};
                var i, keys = Object.keys(original);

                for (i = 0; i < keys.length; i++) {
                    // copy each property into the clone
                    clone[keys[i]] = original[keys[i]];
                }

                return clone;
            }
function (original) {
                var clone = {};
                var i, keys = Object.keys(original);

                for (i = 0; i < keys.length; i++) {
                    // copy each property into the clone
                    clone[keys[i]] = original[keys[i]];
                }

                return clone;
            }
function ( original ) { var clone = { } ; var i , keys = Object . keys ( original ) ; for ( i = 0 ; i < keys . length ; i ++ ) { // copy each property into the clone clone [ keys [ i ] ] = original [ keys [ i ] ] ; } return clone ; }
It clones original object into the new one. It is necessary to retain the options information valid
for all nodes.
@param original Object to clone
@returns {Object} Cloned object
It clones original object into the new one . It is necessary to retain the options information valid for all nodes .