add_image_size() cropped only if width of the image matches or is higher

I want to add a custom image size that is cropped, like this:

add_image_size( 'large-cropped', 700, 300, true );

It works fine. The only problem is that if the image size is for example 500×400, then it will create an image that is 500×300.

I only want it to create an image if the width is at least 700 pixels width.

Solutions Collecting From Web of "add_image_size() cropped only if width of the image matches or is higher"