Zwitterionic copolymers bearing phosphonate or phosphonic motifs as novel metal-anchorable anti-fouling coatings.