Serverless: released
Stateful: 9.3
Details are in the PR: elastic/kibana#237070
In 9.2 this became possible but only by saving the discover session first then adding it to a dashboard from the library. Adding the visualization to a dashboard directly from the Discover histogram button would not carry the controls over and we explicitly mentioned this in the docs for 9.2 so we need to update it.