def copy(self):
        """Creates a copy of this :class:`Group`."""
        ret = super().copy()
        for cmd in self.commands:
            ret.add_command(cmd.copy())
        return ret
Creates a copy of this :class:`Group`.