docs: def remove_duplicate_notes(self):
          """Remove duplicate and enharmonic notes from the container."""
          res = []
          for x in self.notes:
              if x not in res:
                  res.append(x)
          self.notes = res
          return res