man page for mkdir says: If the parent directory has the set-group-ID bit set, then so will the newly created directory.
LGTM. Do you need me to commit this?