protected Set<Long> clone(Set<Long> set) {
        if (set == null) {
            return null;
        }
        return new HashSet<>(set);
    }
Base criteria object used to aid getting pages of data.
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/BaseCriteria.java