Implemented new algorithm for solid cloning