Issue 10194. Variant does not call struct destructors.
Implemented elaborate copying support.
Merge pull request #2147 from yglukhov/issue10194

Issue 10194. Variant does not call struct destructors.