Mutatis mutandis: Lat. With the necessary changes in points of detail, meaning that matters or things are generally the same, but to be altered when necessary as to names, offices, and the like.
Yaani, the basic structure is the same but there may be a few changes made.
Celeris paribus...