Fixed Kernel copy constructor to clone private memory.