Last time I looked into this, mogrify will re-encode the image, resulting in a small loss of quality. jpegtrans and other tools will only remove the metadata without altering the image data.
Hey somebody, if I'm wrong let us know the details, and when it was changed.