def clone(self):
        sym = NonTerminal(self.r)
        sym.p = self.p
        sym.n = self.n
        return sym
Extra cloning method necessary so that count in the corresponding
dataset/ETHPy150Open ResilientScience/wot/wot/sequitur.py/NonTerminal.clone