Backporting mimic support

As I currently still have the need for this feature in Hydro, I created this backport PR.
Also, in #1 others stated their need for this...
Is there a chance that this backport will be re-released?