presto-main/src/main/java/io/prestosql/util/MoreLists.java/MoreLists/listOfListsCopy
class MoreLists:    public static <T> List<List<T>> listOfListsCopy(List<List<T>> lists)
    {
        return requireNonNull(lists, "lists is null").stream()
                .map(ImmutableList::copyOf)
                .collect(toImmutableList());
    }