Faithful replication of grating patterns in polymer through electrohydrodynamic instabilities