<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clone(cls, objective, model=None, **kwargs):
 """ Make a copy of an objective. The objective being copied can be of the same type or belong to a different solver interface. Example """

        return cls(cls._substitute_variables(objective, model=model), name=objective.name,
                   direction=objective.direction, sloppy=True, **kwargs)