code: def remove_duplicate_faces(self):
          
          unique, inverse = grouping.unique_rows(np.sort(self.faces, axis=1))
          self.update_faces(unique)
docs: On the current mesh remove any faces which are duplicates.
  
          Alters
          ----------
          self.faces : removes duplicates