Add same item - Quantity in Cart not incremented

When I add an item to the cart for the second time the quantity in the cart does not increment, it stays the same.

If someone can tell me which module that logic is in I think I might be able to find the problem.