feat(rest) added the ability clone or replace a process instance