Symptoms:
When a Ubuntu VM or template which uses Netplan as network configuration has a static IP address set for network interface, and this VM or template is customized to have a new static IP address for the same network interface, then the customized Ubuntu VM will have both static IP addresses set for the network interface, in particular the new static IP address will be the secondary IP.