title: extjs remove duplicate value before storing it into a store
body: <p>I try to remove the duplicate value before storing it into a store. I want to store the same value in the store 1 time only. But it seems the following Ext.Array.unique line does not working. Could anyone please help me to correct this. 
  Thank you</p>
  
  <pre><code>var input1store = new Ext.data.Store({
      fields: [{name: 'name'}],
      proxy: {
          type: 'ajax',
          url: 'www.requesturl.com?format=json&amp;source1',
          reader: {
              type: 'json',
              root: 'xml.result'
          }
      },
      autoLoad: false,
      sorters: [{property: 'name', direction: 'asc'}],
      listeners:{
          load: function(rec){
              uniqueArray = Ext.Array.unique(rec.getRange());
          }
      }
  });
  </code></pre>