Mass shootings are rare in Australia, where gun ownership has been tightly controlled since a massacre in 1996.