refactorings in cloning and splitting of processes