You will unlock a cannon weapon for clearing a stage without taking damage. You can use this to kill the first boss, and as they are in their death animation you can kill yourself by shooting at the ground. You will need to have low health before you do this though, the cannon does not inflict much damage to you.