Run the knife briefly under hot water and wipe it dry in between each slice. This will keep the cake from sticking to the knife too much.