Animator: animation speed of each individual

I have an animator with a lot of layers. How to set the speed of the individual layer or separately for one animation clip through the script?
I need to set the speed that is displayed in the inspector


P.S. I found only speed setting for the animator.

though who knows?

This is a new feature in 5.1, you should update to 5.1.1

How does that work? And how to access it from StateMachineBehaviour?

Edit:
Just saw it another thread
Go check it out, its awesome!

I upgrade unity. Good new fix