Defeating depolarizing fields with artificial flux closure in ultrathin ferroelectrics