Remove last traces of local clone function