Add image preview to clipboard

Fixes #4614