docs: def merge(self, cluster_ids=None, to=None):
          """Merge the selected clusters."""
          if cluster_ids is None:
              cluster_ids = self.selected
          if len(cluster_ids or []) <= 1:
              return
          self.clustering.merge(cluster_ids, to=to)
          self._global_history.action(self.clustering)