Add option to not copy security object