shallowClone method
Implementation
Future<PluginInformation> shallowClone() async {
ByteSink bout = ByteSink();
toByteArrayStream(bout);
bout.close();
PluginInformation ret = await fromByteArray(await bout.bytes);
ret.secret.setRandomSecret(0);
return ret;
}