src/aria/utils/Json.js
function (object) {
                if (!object || !__isValidContainer(object)) {
                    return object;
                }
                var clone = typeUtils.isArray(object) ? [] : {};
                for (var key in object) {
                    if (!this.isMetadata(key)) {
                        clone[key] = this.removeMetadata(object[key]);
                    }
                }
                return clone;
            }
function (object) {
                if (!object || !__isValidContainer(object)) {
                    return object;
                }
                var clone = typeUtils.isArray(object) ? [] : {};
                for (var key in object) {
                    if (!this.isMetadata(key)) {
                        clone[key] = this.removeMetadata(object[key]);
                    }
                }
                return clone;
            }
function ( object ) { if ( ! object || ! __isValidContainer ( object ) ) { return object ; } var clone = typeUtils . isArray ( object ) ? [ ] : { } ; for ( var key in object ) { if ( ! this . isMetadata ( key ) ) { clone [ key ] = this . removeMetadata ( object [ key ] ) ; } } return clone ; }
Creates a copy of the object without metadata inside
@param {Object} object the object to copy
@return {Object}
Creates a copy of the object without metadata inside