Queensland BMD index for searching - you can narrow down to the actual date
Maryborough Cemeteries Search
Shipping image for Joseph Cleary (see page 241) age 21
Looks like Joseph CLEARY-684 married Margaret RING in 1872.
There is also a marriage in 1866 for William RING to Margaret QUINLIVAN.
TROVE entries for "CLEARY" in the Maryborough Chronicle (Queensland)