<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy(self, *, form=None, frame=None):
 # pragma: no cover """Create a deep copy of the ephemeris, and allow frame and form changing """

        new = self.ephem()
        if frame:
            new.frame = frame
        if form:
            new.form = form

        return new