You can use org.ehcache.jsr107.Eh107IdentityCopier copier as solution.
<default-copiers>
<copier type="java.io.Serializable">org.ehcache.jsr107.Eh107IdentityCopier</copier>
</default-copiers>