Create a new instance where all of the values are 0

def nullval(cls):
        """Create a new instance where all of the values are 0"""

        d = dict(cls.__dict__.items())

        for k in d:
            d[k] = 0

        d['sl'] = cls.sl
        d[cls.level] = 0

        return cls(**d)