Is there a way to have a Group Multi-Select in custom Board View Settings?

Is there any way to use this type of Group selector in a custom Board View Settings area? (this is a screenshot of what exists in the Dashboards)

group_selector_dashboard