Ticket/15915

This pull request is just for comments.
Idea: could we cache the last created distribution so calling it with the exact same params is fast?