Yes – Debt shuffling is a feature that is automatically included in the calculations.
Debts are simplified by amounts owed. If Person A owes Person B $20 for one expense and person B owes Person A $15 for another expense, the amount owed will be simplified person a would owe person B $5 after the calculation. This make paying each much simpler and only one transaction at the end.