title: Remove duplicate arrays in multidimensional array in PHP
body: <p>How can I remove duplicate arrays in a multidimensional array?</p>
  
  <p>This is my original array with <code>[1]</code> and <code>[2]</code> being identical.</p>
  
  <pre><code>$array = Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; Walter
              [1] =&gt; White
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; Marie
              [1] =&gt; Schrader
          )
  
      [2] =&gt; Array
          (
              [0] =&gt; Marie
              [1] =&gt; Schrader
          )
  
      [3] =&gt; Array
          (
              [0] =&gt; Hank
              [1] =&gt; Schrader
          )
  
  )
  </code></pre>
  
  <p>What I like to achieve:</p>
  
  <pre><code>$array_without_duplicates = Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; Walter
              [1] =&gt; White
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; Marie
              [1] =&gt; Schrader
          )
  
      [2] =&gt; Array
          (
              [0] =&gt; Hank
              [1] =&gt; Schrader
          )
  
  )
  </code></pre>