Loading Arbiter…

Rule 428.5.c

When one or more Units is killed due to a Cleanup, that kill action is attributed to the spell or ability that resolved immediately prior to that Cleanup that dealt damage to the Unit or Units.

Official Core Rules