The law concerning jettison and general average is equally applicable to every other voluntary sacrifice of property on a vessel, or to an expense necessarily incurred, for the preservation of the vessel and cargo from extraordinary perils.
Ca. Harb. and Nav. Code § 432