Barbados will be a parliamentary republic with a non-executive figurehead president, Dame Sandra Mason, who has been governor-general of the island since 2018.