small wrapper to clone and patch things away