This is a New York City vaudeville song that was performed by Harrigan & Hart. It later was carried to Ireland and went into tradition. A few people have recorded it including Mick Moloney, who he tells me he may be doing so again this year.I'm sure there has been a thread about Muldoon... I think started by me when I was looking into it.
All the best,
Dan Milner