new_clone
Description:
Parameters:
| this |
the WireGuardPeer instance to copy. |
| with_secrets |
if true, the preshared-key secrets are copied as well. Otherwise, they will be removed. |
Returns:
|
a clone of this. This instance is always unsealed. |