title: check duplicacy in multidimensional array
body: <p>I have an array, last two elements are identical, i just want to check duplicate exist or not.</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [crop] =&gt; CI-000001
              [type] =&gt; PT-000001
          )
  
      [1] =&gt; Array
          (
              [crop] =&gt; CI-000001
              [type] =&gt; PT-000003
          )
  
      [2] =&gt; Array
          (
              [crop] =&gt; CI-000005
              [type] =&gt; PT-000014
          )
  
      [3] =&gt; Array
          (
              [crop] =&gt; CI-000005
              [type] =&gt; PT-000014
          )
  
  ) 
  </code></pre>