I have checked this out a few times before and have found nothing to say it is not allowed. I ran it past my accountant last week and he confirmed it is OK. The wash rules only apply to tax losses. https://www.ato.gov.au/law/view/document?docid=TXR/TR20081/NAT/ATO/00001