/** * Clones passed {@link org.lightmare.criteria.tuples.QueryTuple} without throwing an exception * * @param instance * @return {@link org.lightmare.criteria.tuples.QueryTuple} clone */ private static QueryTuple cloneTuple(QueryTuple instance) { return ObjectUtils.applyAndCast(instance, c -> ObjectUtils.applyQuietly(c, QueryTuple::clone)); }