Copying deriving attributes for the parameter link

Not usable now, since there is a lot of fixed-size arrays in there, but will be nice in the future.