Yes, it takes care of that; if someone has retweeted you with a comment, the thing they're commenting on is replaced with "This tweet is no longer available." (Obviously, it's no defence against people screenshotting your tweet, manually copy-pasting what you said, etc etc.)