When writing, it's important to have a varied vocabulary to avoid repetition. One phrase commonly used is "in the same way". To add variety, one could use synonyms such as "similarly", "likewise", "in the same vein", or "in a similar fashion". Each of these phrases still conveys the same meaning as "in the same way", without sounding repetitive. It's also worth considering the context of the writing and choosing a synonym that best fits without sounding forced. Remember, using synonyms not only adds diversity to your writing but also showcases your mastery of the English language.