docs: private List<RowExpression> removeDuplicates(List<RowExpression> expressions)
      {
          Set<RowExpression> seen = new HashSet<>();
  
          ImmutableList.Builder<RowExpression> result = ImmutableList.builder();
          for (RowExpression expression : expressions) {
              if (!determinismEvaluator.isDeterministic(expression)) {
                  result.add(expression);
              }
              else if (!seen.contains(expression)) {
                  result.add(expression);
                  seen.add(expression);
              }
          }
  
          return result.build();
      }