title: Laravel collection intersect on nested object
body: <p>I've two collections given below:</p>
  <pre class="lang-php prettyprint-override"><code>
  $collection1 = collect([
      [13254, 28.2],
      [13332, 23.45],
  ]);
  
  $collection2 = collect([
      [14673, 14.2],
      [13254, 12.2],
  ]);
  
  </code></pre>
  <p>And I expect the output similar to:</p>
  <pre class="lang-php prettyprint-override"><code>[
      [13254, 28.2],
  ]
  
  </code></pre>
  <p>I tried using <code>$collection1-&gt;intersect($collection2)</code> but that did not seem to work.</p>