title: MongoDB Scala - delete duplicate documents in a collection
body: <p>If I want to delete duplicate documents in a MongoDB collection using Scala, how would one go about doing it?</p>
  
  <p>Pretty sure it's simple but I always keep finding ways to do it in Mongo Shell.</p>