Keep inventory when rebuilding combinations

Currently when you click “rebuild combinations” it wipes all the inventory and product code data. Has anyone done a mod that keeps all the data for the already built combinations and just creates the new combinations?