I get at least one request a week that sounds like:
"Add this server X, and make it just like this other server Y."
I put this script together so that I could assign the same list of applications to this new semi-clone. Notes for configuring the csv are in the script. Don't forget to update the SDK username and password, and the file directory for your csv file.