Cloning activity before transforming.