Polymer compositions for coating of metal surfaces including moieties that interact with a metal atom in the metal surface and optionally containing antifoulant moieties. These polymer compositions provide lubricious coatings for medical devices, anticorrosion coatings for metal components, and antifoulant coatings for marine components such as propellers. The polymer composition is synthesized in a safe manner in which the synthesis components are added to a synthesis vat and there is no need for filtration or removal of waste materials in any step including the consumer use. As such this invention provides an environmentally sound approach to composition synthesis, formulation development, and consumer use.