I am reading a fairly cumbersome proof showing that some homology group $M$ (over $\mathbb{Z}$) is actually zero. In the argument we have a Mayer-Vietoris sequence containing the fragment $$0 \to M \to M \oplus M \to 0,$$ which implies that $M \cong M \oplus M$. Isn't this enough to conclude that $M$ is zero?
More in general: if we have a module (over a commutative ring with $1$) that is isomorphic to the direct sum of two (or more) copies of itself, when can we conclude that it is necessarily zero?