docs: static Matcher dedupOr(Matcher matcher) {
      if (matcher instanceof OrMatcher) {
        List<Matcher> ms = new ArrayList<>(
            new LinkedHashSet<>(matcher.<OrMatcher>as().matchers()));
        return OrMatcher.create(ms);
      }
      return matcher;
    }