ObjectPattern.oneOf(T...): less memory for single value