<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def savepoint(self):
 """ Copies the last displayed image. """

        if self._last_image:
            self._savepoints.append(self._last_image)
            self._last_image = None