Changed the order in which a type is checked if it is a primitive type during deep cloning.
Changed the order in which a type is checked if it is a primitive type during deep cloning.

MarinAtanasov/AppBrix.NetCore,MarinAtanasov/AppBrix