The Duchess of Cambridge is self-isolating after coming into contact with someone who has since tested positive for COVID-19, a spokesperson for Kensington Palace said.