Constructs a key from the existing Key
Copying type and name of from
from
Key.ofType(Key from) { type = from.type; name = from.name; }