Right now, it embeds the same image (with different file name) twice as seen in Example 4.
This is more to do with how we don't filter out dupe widths, when we can't scale up an image. E.g. asking to resize image of 800px to 800px and 1600px will produce same image twice of 800px@1x and 800px@2x.