It's a bit more subtle and is understood in considering the role the continuous part of the spacetime symmetry groups of the space-time models in Newtonian physics and SR play. For Newtonian physics it's the Galilei group, for SR it's the proper orthochronous Poincare group.
In quantum theory you have to find theories that are symmetric under these groups to be compatible with the underlying spacetime model. Since these are Lie groups, i.e., groups with continuous parameters connected smoothly with the identity operation according to Wigner's theorem, these symmetries are represented in QT by unitary ray representations.
You can find them by looking for the unitary ray representations of the corresponding Lie algebras, and there any ray representation can be lifted to a unitary representation of central extensions of these Lie algebras, and for the groups also admitting representations of the covering group.
For SR the issue is simpler, because there the Lie algebra has no nontrivial central extensions, i.e., any unitary ray representation of the Lie algebra can be lifted to a unitary representation, and instead of the original Poincare group you consider the covering group, where the proper orthochronous Lorentz subgroup is substituted by its covering group ##\text{SL}(2,\mathbb{C})##, which admits integer and half-integer spin (which obviously is important). The corresponding irreducible representations are characterized by the values of the Casimir operators, which are ##m^2## and ##s## (massive reps.) and ##h## (massless) (the mass squared and the spin or helicity quantum number). As it turns out the physically meaningful representations are for ##m^2 \geq 0##, and the ##s \in \{0,1/2,1,\ldots \}## and ##h \in \{0,\pm 1/2,\pm 1,\ldots \}##. The details are very well described in Weinberg's quantum theory of fields, vol. 1.
Note that here mass is defined by a Casimir operator of the Lie group/algebra. There are 10 conservation laws from the spacetime symmetries corresponding to the standard basis of observables spanning the Poincare Lie algebra (Energy, momentum, angular momentum, boost generators).
For Newtonian physics fortunately there is a non-trivial extension of the Galilei group since it turns out that the unitary transformations of the Galilei group don't lead to a sensible quantum dynamics (that's shown in a famous paper by Inönü and Wigner). The non-trivial central charge is the mass, extending the classical Galilei group to a central 11-dim. extension of its covering group (which just means to substitute the classical rotation group SO(3) by its covering group SU(2), admitting half-integer representations of the rotation group, i.e., particles with half-integer spin). An immediate consequence of the fact that mass is a central charge of the Gailei group is that there is a superselection rule, i.e., there are no superpositions of states living in representations with different mass, and thus in addition to the 10 space-time conserved quantities given by the generators of the Galilei group (energy, momentum, angular momentum, boost generators) you have an additional independent conservation law of mass.
That's why in Newtonian physics you have an additional independent conservation law for mass, while you have no such additional conservation law for mass in SR. In SR you can simply define the mass by defining at as total energy divided by ##c^2## as measured in the rest frame of the center of momentum of the system, and for composite systems this invariant mass depends on the energy in the excitations and thus this mass is not necessarily conserved in SR. E.g., take some solid body, which has some mass in the rest frame of its center of energy and heat it up. Then its mass gets higher by ##\Delta Q/c^2##, because that heat is added to the total energy content of the body as measured in the center-of-momentum frame (rest frame of total momentum). This analysis also illustrates that ##m## is not an additional independent conserved quantity because as a Casimir operator of the proper orthochronous Poincare group it can be calculated from the values of the 10 conserved quantities from the application of Noether's theorem to the proper orthochronous Poincare group.