static <V> GValue<V> of(final V value) {
        if (value instanceof GValue) return (GValue) value;
        return new GValue<>(GType.getType(value), value);
    }
Create a new {@code Var} from a particular value but without the specified name. If the argument provide is
already a {@code GValue} then it is returned as-is.

@param value the value of the variable
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/GValue.java