By default, the "wishlist" functionality works for all main products without a separate code to make the wishlist work for each product variation separately. Enable this option so that the "wishlist" code will recognize each product variation as a separate product, allowing customers to add any product variation to their wishlist instead of adding the main parent product.