slightly less questionable implementation of autoDeleteClip