Maps a value to an instance of an inline value class If already is an instance of the class, this is a NO-OP
the wrapped value
the value to map
the class to create an instance of