title: Groovy: Remove duplicates from a list of maps by multiple values
body: <p>Having a list of maps as this</p>
  
  <pre><code>def listOfMaps = 
  [
      ["car": "A", "color": "A", "motor": "A", "anything": "meh"],
      ["car": "A", "color": "A", "motor": "A", "anything": "doesn't matter"],
      ["car": "A", "color": "A", "motor": "B", "anything": "Anything"],
      ["car": "A", "color": "B", "motor": "A", "anything": "Anything"]
  ]
  </code></pre>
  
  <p>How am I supposed to find duplicates by car, color and motor? If there are more than 1 map with the same car, color and motor value it should return true. In this case it should return true since first and second map have the same car, color and motor value, value could be anything as long as they are the same. </p>