Uses super()._take_values() method and removes autoflow cache in-place.

        :param item: GPflow parameterized object.
        :return: dictionary snapshot of the parameter object.

def _take_values(self, item: Parameterized) -> DictBasicType:
        """Uses super()._take_values() method and removes autoflow cache in-place.

        :param item: GPflow parameterized object.
        :return: dictionary snapshot of the parameter object."""

        values = super()._take_values(item)
        values = {k: v for k, v in values.items() if not k.startswith(AutoFlow.__autoflow_prefix__)}
        return values