Handles duplicate badgeIds in balances. Returns a new BalanceArray.
For example, if we have x1 of ID 1 and x1 of ID 1, we will return x2 of ID 1.
Handles duplicate badgeIds in balances. Returns a new BalanceArray.
For example, if we have x1 of ID 1 and x1 of ID 1, we will return x2 of ID 1.