Stamp duty surcharges on foreign ownership of NSW homes are deterring investment in rental properties and retirement homes. The state budget will change that.