feat(engine-rest) Added clone and replace process instance