title: Remove Duplicate 3 value Tuples from list of tuples with similar elements
body: <p>I have a list of tuples where each tuple has 3 elements within it:</p>
  <pre><code>slices = [('location', 'region', 'sub_region'),
   ('location', 'sub_region', ' job_level'),
   ('sub_region', 'region', 'location')]
  </code></pre>
  <p>In the above example, the first tuple and the last tuple would be considered duplicates, because the elements within are the same (location, region, sub_region). I'd want to keep only one of them so that my <strong>desired output</strong> would become:</p>
  <pre><code>[('location', 'region', 'sub_region'),
   ('location', 'sub_region', ' job_level')]
  </code></pre>
  <p>I tried to do this with a list comprehension, but my output ends up being an empty list:</p>
  <pre><code>new_slices = [(x, y, z) for x, y, z in slices if (z, x, y) not in slices]
  
  </code></pre>
  <p>Current Output:</p>
  <pre><code>new_slices = []
  </code></pre>
  <p>Any thoughts on how I might be able to accomplish this?</p>