Casts the given any to the type of the given KClass.
Casts the given any with help of kotlin.reflect.full.cast to the specified T.