title: how to check if two tables / objects are the same identity in Lua
body: <p>Is there a way to check if two variables point to the same table in Lua?</p>
  
  <p>I'd like some operator foo(A, B) where:</p>
  
  <pre><code>myTable = {1, 2}
  myOtherTable = {1, 2}
  foo(myTable, myTable)  -- true
  foo(myTable, myOtherTable)  -- false
  </code></pre>