@Anonymous Welcome to Microsoft Q&A, Thank you for posting your here!!
The only difference between the specialized and generalized deployments are below.
A specialized disk is a copy of a virtual hard disk (VHD) from an existing VM that contains all the user accounts, applications, and other state data from your original VM. After deploying a new VM from the specialized you need handle uniqueness within the VM, like setting a hostname, to avoid DNS conflicts on the same VNET.
A generalized image is created by running Sysprep on the VM. Sysprep removes all your personal account information, retains OS and application specific information which prepares the machine to be used as an image and Once you set the VM to be generalized you can reuse the existing VM and this action is irreversible.
Additional Information:Please check further differences here and here is the ARM template to deploy multiple VMs from generalized image 97178-multivm-customimage.txt
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
-------------------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.