presto-parser/src/main/java/io/prestosql/sql/parser/SqlParserOptions.java/SqlParserOptions/copyOf
class SqlParserOptions:    public static SqlParserOptions copyOf(SqlParserOptions other)
    {
        return new SqlParserOptions(other.enhancedErrorHandlerEnabled);
    }