The problem with this is that, while it provides a strong incentive for experienced teachers to stay in teaching longer than they might otherwise, it makes teaching unattractive to young people who are more concerned about supporting new families than about their retirement.
FORBES: Reforming Teacher Pay to Attract New Teachers