Use case
Return the display names of the sub-tasks' assignees. Every user only appears once.
Expression
Create and configure a Smart field using this expression in General parsing mode:
%{distinct(fieldValue(%{issue.assignee.displayName}, subtasks()))}