For a quick way to empty all products in the cart, you can create a button or clickable link that has the url followed by ?emptycart=yes
and this will empty all items in the cart. Usually this is done before or while adding a new product.
Example: /checkout?emptycart=yes