Restrict Creating Branch from Certain Branch

Is there a way to set up a group or project so that developers can create branches only from certain branches? For example, I only want developers to create branches based off of master, but not from unstablestuff.

I would like to restrict creation of branches to be based off of a list of certain existing branches (or the opposite). You can only create newbranch from stable1, stable2, and master, but you cannot create from unstablestuff1, unstablestuff2, and unstablestuff3.