Apply a hash into a Ruby object and return another instance of the same class using the data in the hash.
>= 2.1.0
Daniel Han