Split substitute into substitute and substitute_clone.