static/ext/src/lang/Array.js
function(array) {
            var clone = [],
                i = 0,
                ln = array.length,
                item;

            for (; i < ln; i++) {
                item = array[i];

                if (ExtArray.indexOf(clone, item) === -1) {
                    clone.push(item);
                }
            }

            return clone;
        }
function(array) {
            var clone = [],
                i = 0,
                ln = array.length,
                item;

            for (; i < ln; i++) {
                item = array[i];

                if (ExtArray.indexOf(clone, item) === -1) {
                    clone.push(item);
                }
            }

            return clone;
        }
function ( array ) { var clone = [ ] , i = 0 , ln = array . length , item ; for ( ; i < ln ; i ++ ) { item = array [ i ] ; if ( ExtArray . indexOf ( clone , item ) === - 1 ) { clone . push ( item ) ; } } return clone ; }
Returns a new array with unique items

@param {Array} array
@return {Array} results
Returns a new array with unique items