Ionic platform add or cordova platform add?

I just read the April announcement from Apache Cordova on their tools release (

They are proposing to use cordova platform add XXX --save which stores the added platform in the config.xml file. In addition, I read for the first time about cordova prepare which is mentioned in the announcement as well.

So far, I have used ionic platform add XXX and ionic state restore.

My question is now if one of the two options has any advantages or disadvantages about the other and how they are different.