This was decided by the Knesset Health Committee on Monday in preparation of the law for using the sperm of a deceased person for procreation.
Source: Jerusalem Post
Full Article: IDF will offer soldiers the option of ‘harvesting’ their sperm in case of death