def METHOD_NAME(  # pylint: disable = inconsistent-return-statements
    self, inplace=False
):
    to_copy = not inplace
    anonymised = METHOD_NAME.anonymise_dataset(self.dataset, copy_dataset=to_copy)
    if not inplace:
        return self.__class__(anonymised)