.dup constructor arguments to work around stack allocation in dmd