The preceding provisions of this chapter, so far as they relate to the manner of solemnizing marriages, shall not affect marriages among the people called Friends or Quakers; nor marriages among people of any other particular denomination, having, as such, any peculiar mode of solemnizing marriages; but such marriages may be solemnized in the manner heretofore used and practiced in their respective societies or denominations.