This is clever. In particular in inflationary times you are being taxed on non-real gains - this seems to alleviate that.