You could actually just call .swap() here.