Alternatives to Suicide?

Suicide is selfish. Is there some other way to sacrifice yourself that is noble? Volunteer for risky medical research, be a part of a military suicide mission, or any other selfless method of dying?