Creates an optional from a potentially null value. If the provided value is null, the optional will be empty.
The potentially null value.