code: public static List<ParameterSpace> getUniqueObjects(List<ParameterSpace> allLeaves) {
          List<ParameterSpace> unique = new ArrayList<>();
          for (ParameterSpace p : allLeaves) {
              //This isn't especially efficient, but small number of parameters in general means it's fine
              boolean found = false;
              for (ParameterSpace q : unique) {
                  if (p == q) {
                      found = true;
                  }
              }
              if (!found) {
                  unique.add(p);
              }
          }
  
          return unique;
      }
docs: Returns a list of unique objects, not using the .equals() method, but rather using ==
  
  @param allLeaves Leaf values to process
  @return A list of unique parameter space values