used jocularly to express annoyance, surprise, reluctant admiration etc
darn him (you etc)!
doggone him (you etc)!
well, ain't he (you etc) something!Большой русско-английский фразеологический словарь. — М.: ACT-ПРЕСС КНИГА. С.И. Лубенская. 2004.