Fixes for copying class binding.
Fixes for copying class binding.

mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03