You can't hold the same pace on a climb but you can hold the same tempo. Do that. If it is too slow others will go around you.
DO NOT increase speed when you inherit the front. This is a noob mistake. You will have to increase wattage to hold that pace but there is no way of knowing by how much as it is conditional.
Again, DO NOT accelerate when you hit the front unless you are doing it for a specific reason.
If this is your first group ride expect to get yelled at.