Subsections (3) and (4) shall apply to all marriages at law, custom and marriages by repute or by permanent cohabitation.