in a similar way to vs in the manner of

in a similar way to

in the manner of

How often have the words in a similar way to and in the manner of occurred in a corpus of books? (source: Google Ngram Viewer )