Upvote:6
Immigration rules are about you as a person. Changing your name does not make you a different person.
Different countries might be good or bad at identifying people who change their names and travel on new passports as being people who have visited before. However, we don't give advice about how to break the law or how likely you are to get caught if you do break the law. My guess is that, anyway, most countries aren't going to be fooled when all the passport details match except that the number has changed (people renew their passports all the time) and that there's been a small change of spelling.