Backport of commit 546b645c
This backport fix a problem originated in a clone original cleanup backported to 1.0.x
The main goal is fix this issue:
* Use clone LPE
* Add transform to the non lpe item
* Store the file
* Reopen
Item dont get last transform
Also fix some crashes when trying to acces to a freed gchar