If I save the 2 images from the -shadow command and do a compare, the result is 0. So this leads me to believe it is a layer merge issue.
Input:

IM 7:
Code: Select all
magick sample.png \
\( +clone -background black -shadow 80x3+5+5 \) \
+swap -background none -layers merge +repage sample_result7.png

IM 6:
Code: Select all
convert sample.png \
\( +clone -background black -shadow 80x3+5+5 \) \
+swap -background none -layers merge +repage sample_result6.png

Animation showing difference:
