Kernel copy constructor now performs deep copy of arguments.
Release memory used by arguments when destroying Kernel object.
Release local memory arguments properly.