I find this all really confusing!
Originally I had thought Mary's maiden name was Whelan, mainly as that was what the record hints on Ancestry had suggested and also the names and seemingly the dates were correct.
However, looking at the address and also apparently a Mary Whelan and Patrick Delaney were married in Portarlington and it wasn't likely that they would have had a child in 1871? The dates aligned more and the address and also the names, as I think Patrick and Mary had a son called Michael as did John. The address being Clonbane made more sense.